﻿using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPlatePrintSys.Infrastructure.Helpers {
    public class AMLog {
        private static Logger logger = LogManager.GetLogger("Aveva");
        public static Logger GetLogger() {
            return logger;
        }

        public static void Trace(string message) {
            logger.Trace(message);
        }

        public static void Debug(string message) {
            logger.Debug(message);
        }

        public static void Info(string message) {
            logger.Info(message);
        }

        public static void Warn(string message) {
            logger.Warn(message);
        }

        public static void Error( string message) {
            logger.Error(message);
        }
    }
}
